package org.begincode.core.mapper;

import org.apache.ibatis.annotations.Param;
import org.begincode.core.model.CourseLabel;
import org.begincode.core.model.CourseLabelExample;

import java.util.List;

public interface CourseLabelMapper {
    int countByExample(CourseLabelExample example);

    int deleteByExample(CourseLabelExample example);

    int deleteByPrimaryKey(Integer courseLabelId);

    int insert(CourseLabel record);

    int insertSelective(CourseLabel record);

    List<CourseLabel> selectByExample(CourseLabelExample example);

    CourseLabel selectByPrimaryKey(Integer courseLabelId);

    int updateByExampleSelective(@Param("record") CourseLabel record, @Param("example") CourseLabelExample example);

    int updateByExample(@Param("record") CourseLabel record, @Param("example") CourseLabelExample example);

    int updateByPrimaryKeySelective(CourseLabel record);

    int updateByPrimaryKey(CourseLabel record);
}